HAL RTC types

HAL RTC types

group RTC_Exported_Types

Enums

enum hal_rtc_priv_attr_t

HAL RTC Privilege attribute enumeration definition

Values:

enumerator HAL_RTC_NPRIV

Non-privileged attribute RTC Non-privileged attribute

enumerator HAL_RTC_PRIV

Privileged attribute RTC privileged attribute

RTC exported global configuration enumerations.

group RTC_Exported_Enums_Config

Enums

enum hal_rtc_mode_t

RTC mode definitions.

Values:

enumerator HAL_RTC_MODE_BCD

Free-running BCD calendar mode (Binary mode disabled) RTC is set to BCD mode only

enumerator HAL_RTC_MODE_BINARY

0x00000100 Free-running Binary mode (BCD mode disabled) RTC is set to binary mode only

enumerator HAL_RTC_MODE_MIX

0x00000200 Free-running BCD calendar and Binary mode enabled RTC is set to mixed mode (BCD and binary mode together)

enum hal_rtc_bcd_update_t

BCD update using the subseconds register (SS) least significant bits. This mode is also used to feed the wake-up timer based on WUCKSEL[2:0] when the RTC mode is HAL_RTC_MODE_BINARY or HAL_RTC_MODE_MIX.

Values:

enumerator HAL_RTC_BCD_UPDATE_8BITS

1s calendar increment is generated each time SS[7:0] = 0 Incremented when SS[7:0] = 0

enumerator HAL_RTC_BCD_UPDATE_9BITS

1s calendar increment is generated each time SS[8:0] = 0 Incremented when SS[8:0] = 0

enumerator HAL_RTC_BCD_UPDATE_10BITS

1s calendar increment is generated each time SS[9:0] = 0 Incremented when SS[9:0] = 0

enumerator HAL_RTC_BCD_UPDATE_11BITS

1s calendar increment is generated each time SS[10:0] = 0 Incremented when SS[10:0] = 0

enumerator HAL_RTC_BCD_UPDATE_12BITS

1s calendar increment is generated each time SS[11:0] = 0 Incremented when SS[11:0] = 0

enumerator HAL_RTC_BCD_UPDATE_13BITS

1s calendar increment is generated each time SS[12:0] = 0 Incremented when SS[12:0] = 0

enumerator HAL_RTC_BCD_UPDATE_14BITS

1s calendar increment is generated each time SS[13:0] = 0 Incremented when SS[13:0] = 0

enumerator HAL_RTC_BCD_UPDATE_15BITS

1s calendar increment is generated each time SS[14:0] = 0 Incremented when SS[14:0] = 0

RTC exported low power configuration enumerations.

group RTC_Exported_Enums_Low_Power

Enums

enum hal_rtc_ultra_low_power_mode_status_t

Ultra low power status definitions.

Values:

enumerator HAL_RTC_ULTRA_LOW_POWER_DISABLED

Ultra low power disabled

enumerator HAL_RTC_ULTRA_LOW_POWER_ENABLED

Ultra low power enabled

RTC exported calendar enumerations.

group RTC_Exported_Enums_Calendar

Enums

enum hal_rtc_calendar_hour_format_t

Hour formats definitions.

Values:

enumerator HAL_RTC_CALENDAR_HOUR_FORMAT_24

24 hour/day format 24-hour format

enumerator HAL_RTC_CALENDAR_HOUR_FORMAT_AMPM

0x00000040 Hour format AM/PM hour format 12-hour format

enum hal_rtc_calendar_shadow_reg_bypass_t

Bypass shadow register definitions.

Values:

enumerator HAL_RTC_CALENDAR_SHADOW_REG_KEEP

Bypass shadow register disabled Keep shadow registers

enumerator HAL_RTC_CALENDAR_SHADOW_REG_BYPASS

0x00000020 Bypass the shadow registers Bypass shadow register enabled Bypass shadow registers

enum hal_rtc_calendar_reference_clock_status_t

Reference clock definitions.

Values:

enumerator HAL_RTC_CALENDAR_REF_CLOCK_DISABLED

Reference clock disabled

enumerator HAL_RTC_CALENDAR_REF_CLOCK_ENABLED

Reference clock enabled

enum hal_rtc_calendar_summer_time_status_t

Summer time definitions.

Values:

enumerator HAL_RTC_CALENDAR_SUMMER_TIME_DISABLED

Summer time disabled

enumerator HAL_RTC_CALENDAR_SUMMER_TIME_ENABLED

Summer time enabled

enum hal_rtc_calendar_it_underflow_status_t

Calendar mode interruption underflow status definitions.

Values:

enumerator HAL_RTC_CALENDAR_IT_UNDERFLOW_DISABLED

Subseconds counter underflow interruption disabled

enumerator HAL_RTC_CALENDAR_IT_UNDERFLOW_ENABLED

Subseconds counter underflow interruption enabled

RTC exported date and time enumerations.

group RTC_Exported_Enums_Date_Time

Enums

enum hal_rtc_time_format_am_pm_t

AM PM definitions.

Values:

enumerator HAL_RTC_TIME_FORMAT_AM_24H

AM or 24-hour format If 12-hour format, hour is a.m.

enumerator HAL_RTC_TIME_FORMAT_PM

0x00400000 AM/PM notation PM Hour is p.m.

enum hal_rtc_month_t

Month definitions.

Values:

enumerator HAL_RTC_MONTH_JANUARY

January January

enumerator HAL_RTC_MONTH_FEBRUARY

February February

enumerator HAL_RTC_MONTH_MARCH

March March

enumerator HAL_RTC_MONTH_APRIL

April April

enumerator HAL_RTC_MONTH_MAY

May May

enumerator HAL_RTC_MONTH_JUNE

June June

enumerator HAL_RTC_MONTH_JULY

July July

enumerator HAL_RTC_MONTH_AUGUST

August August

enumerator HAL_RTC_MONTH_SEPTEMBER

September September

enumerator HAL_RTC_MONTH_OCTOBER

October October

enumerator HAL_RTC_MONTH_NOVEMBER

November November

enumerator HAL_RTC_MONTH_DECEMBER

December December

enum hal_rtc_weekday_t

Weekday definitions.

Values:

enumerator HAL_RTC_WEEKDAY_MONDAY

Monday Monday

enumerator HAL_RTC_WEEKDAY_TUESDAY

Tuesday Tuesday

enumerator HAL_RTC_WEEKDAY_WEDNESDAY

Wednesday Wednesday

enumerator HAL_RTC_WEEKDAY_THURSDAY

Thursday Thursday

enumerator HAL_RTC_WEEKDAY_FRIDAY

Friday Friday

enumerator HAL_RTC_WEEKDAY_SATURDAY

Saturday Saturday

enumerator HAL_RTC_WEEKDAY_SUNDAY

Sunday Sunday

RTC exported calendar init enumerations

group RTC_Exported_Enums_Init

Enums

enum hal_rtc_calendar_status_t

RTC calendar initialization status definitions.

Values:

enumerator HAL_RTC_CALENDAR_NOT_INITIALIZED

RTC is not initialized

enumerator HAL_RTC_CALENDAR_INITIALIZED

RTC is initialized

RTC exported output enumerations

group RTC_Exported_Enums_Output

Enums

enum hal_rtc_output_tampalarm_polarity_t

Tampalarm output polarity definitions.

Values:

enumerator HAL_RTC_OUTPUT_TAMPALARM_POLARITY_HIGH

Pin is high when selected TAMPALRM is asserted Tampalarm output polarity is high

enumerator HAL_RTC_OUTPUT_TAMPALARM_POLARITY_LOW

0x00100000 Output polarity Pin is low when selected TAMPALRM is asserted Tampalarm output polarity is low

enum hal_rtc_output_tampalarm_type_t

Tampalarm output type definitions.

Values:

enumerator HAL_RTC_OUTPUT_TAMPALARM_TYPE_PUSHPULL

RTC_ALARM is push-pull output Tampalarm output is a push-pull

enumerator HAL_RTC_OUTPUT_TAMPALARM_TYPE_OPENDRAIN

0x40000000 TAMPALARM output type RTC_ALARM is open-drain output Tampalarm output is an open-drain

enum hal_rtc_output_tampalarm_pullup_t

Tampalarm output pull-up definitions.

Values:

enumerator HAL_RTC_OUTPUT_TAMPALARM_PULLUP_DISABLE

No pull-up is applied on TAMPALRM output Tampalarm output pull-up disable

enumerator HAL_RTC_OUTPUT_TAMPALARM_PULLUP_ENABLE

0x20000000 TAMPALARM output pull-up config A pull-up is applied on TAMPALRM output Tampalarm output pull-up enable

enum hal_rtc_output_calibration_frequency_t

Calibration output frequency definitions.

Values:

enumerator HAL_RTC_OUTPUT_CALIBRATION_SYNCHRONOUS

0x00080000 Calibration output selection Calibration output is 1 Hz 1Hz for RTCCLK at 32768 Hz and prescalers at their default values (PREDIV_A = 127 and PREDIV_S = 255)

enumerator HAL_RTC_OUTPUT_CALIBRATION_ASYNCHRONOUS_DIV64

Calibration output is 512 Hz 512Hz for RTCCLK at 32768 Hz and prescalers at their default values (PREDIV_A = 127 and PREDIV_S = 255)

enum hal_rtc_output_t

Output definitions.

Values:

enumerator HAL_RTC_OUTPUT_OUT1_ALARMA

0x00200000 Alarm A output enabled Alarm A event is routed to output 1

enumerator HAL_RTC_OUTPUT_OUT1_ALARMB

0x00400000 Alarm B output enabled Alarm B event is routed to output 1

enumerator HAL_RTC_OUTPUT_OUT1_WAKEUP

0x00600000 Output selection Wake-up output enabled Wake-up timer event is routed to output 1

enumerator HAL_RTC_OUTPUT_OUT1_TAMP

0x04000000 Tamper detection output enable on TAMPALARM Enable Tamper detection output Tamper event is routed to output 1

enumerator HAL_RTC_OUTPUT_OUT1_CALIB

0x00800000 Calibration output enable Calibration output enabled with current configuration Calibration is routed to output 1

enumerator HAL_RTC_OUTPUT_OUT2_ALARMA

Alarm A event is routed to output 2

enumerator HAL_RTC_OUTPUT_OUT2_ALARMB

Alarm B event is routed to output 2

enumerator HAL_RTC_OUTPUT_OUT2_WAKEUP

Wake-up timer event is routed to output 2

enumerator HAL_RTC_OUTPUT_OUT2_TAMP

Tamper event is routed to output 2

enumerator HAL_RTC_OUTPUT_OUT2_CALIB

Calibration is routed to output 2

enumerator HAL_RTC_OUTPUT_OUT1_ALARMA_TAMP

Alarm A and tamper event are routed to output 1

enumerator HAL_RTC_OUTPUT_OUT1_ALARMB_TAMP

Alarm B and tamper event are routed to output 1

enumerator HAL_RTC_OUTPUT_OUT1_WAKEUP_TAMP

Wake-up timer and tamper event are routed to output 1

enumerator HAL_RTC_OUTPUT_OUT2_ALARMA_TAMP

Alarm A and tamper event are routed to output 2

enumerator HAL_RTC_OUTPUT_OUT2_ALARMB_TAMP

Alarm B and tamper event are routed to output 2

enumerator HAL_RTC_OUTPUT_OUT2_WAKEUP_TAMP

Wake-up timer and tamper event are routed to output 2

enumerator HAL_RTC_OUTPUT_OUT1_ALARMA_OUT2_CALIB

Alarm A event is routed to output 1 and calibration to output 2

enumerator HAL_RTC_OUTPUT_OUT1_ALARMB_OUT2_CALIB

Alarm B event is routed to output 1 and calibration to output 2

enumerator HAL_RTC_OUTPUT_OUT1_WAKEUP_OUT2_CALIB

Wake-up timer event is routed to output 1 and calibration to output 2

enumerator HAL_RTC_OUTPUT_OUT1_TAMP_OUT2_CALIB

Tamper event is routed to output 1 and calibration to output 2

enumerator HAL_RTC_OUTPUT_OUT1_ALARMA_TAMP_OUT2_CALIB

Alarm A and tamper event are routed to output 1 and calibration to output 2

enumerator HAL_RTC_OUTPUT_OUT1_ALARMB_TAMP_OUT2_CALIB

Alarm B and tamper event are routed to output 1 and calibration to output 2

enumerator HAL_RTC_OUTPUT_OUT1_WAKEUP_TAMP_OUT2_CALIB

Wake-up timer and tamper event are routed to output 1 and calibration to output 2

enum hal_rtc_output_status_t

Output status definitions.

Values:

enumerator HAL_RTC_OUTPUT_DISABLED

Output disabled

enumerator HAL_RTC_OUTPUT_ENABLED

Output enabled

RTC exported alarm enumerations

group RTC_Exported_Enums_Alarm

Enums

enum hal_rtc_alarm_day_type_selection_t

Alarm date weekday definitions.

Values:

enumerator HAL_RTC_ALARM_DAY_TYPE_SEL_MONTHDAY

Alarm A Date is selected Alarm day corresponds to the month day

enumerator HAL_RTC_ALARM_DAY_TYPE_SEL_WEEKDAY

0x40000000 Week day selection Alarm A WeekDay is selected Alarm day corresponds to the weekday

enum hal_rtc_alarm_t

Alarm definitions.

Values:

enumerator HAL_RTC_ALARM_A

Alarm A Alarm A

enumerator HAL_RTC_ALARM_B

Alarm B Alarm B

enum hal_rtc_alarm_auto_clear_t

Alarm flag autoclear definitions.

Values:

enumerator HAL_ALARM_AUTO_CLEAR_DISABLE

Alarm autoclear disabled Autoclear of the alarm flag is disabled

enumerator HAL_ALARM_AUTO_CLEAR_ENABLE

0x8000000 Alarm A mask Alarm autoclear enabled Autoclear of the alarm flag is enabled

enum hal_rtc_alarm_subseconds_auto_reload_t

Subseconds register auto-reload on alarm definitions. Enable only in binary mode.

Values:

enumerator HAL_RTC_ALARM_SUBSECONDS_AUTO_RELOAD_DISABLE

The synchronous binary counter (SS[31:0] in RTC_SSR) is free-running Disables the autoreload of calendar subseconds register

enumerator HAL_RTC_ALARM_SUBSECONDS_AUTO_RELOAD_ENABLE

0x80000000 Clear synchronous counter on alarm (Binary mode only) The synchronous binary counter (SS[31:0] in RTC_SSR) is running from 0xFFFF FFFF to -> SS[31:0] value and is automatically reloaded with 0xFFFF FFFF when reaching RTC_ALRABINR -> SS[31:0] Enables the autoreload of the subseconds register

RTC exported timestamp enumerations.

group RTC_Exported_Enums_Timestamp

Enums

enum hal_rtc_timestamp_source_pin_edge_t

Timestamp event on pin active edge definitions.

Values:

enumerator HAL_RTC_TIMESTAMP_EDGE_RISING

RTC_TS input rising edge generates a time-stamp event Create a timestamp event when a rising edge is detected in the input pin

enumerator HAL_RTC_TIMESTAMP_EDGE_FALLING

0x00000008 Timestamp event active edge RTC_TS input falling edge generates a time-stamp event Create a timestamp event when a falling edge is detected in the input pin

enum hal_rtc_timestamp_it_status_t

Timestamp interruption status.

Values:

enumerator HAL_RTC_TIMESTAMP_IT_DISABLED

Timestamp interruption disabled

enumerator HAL_RTC_TIMESTAMP_IT_ENABLED

Timestamp interruption enabled

enum hal_rtc_timestamp_tamper_status_t

Timestamp on tamper status.

Values:

enumerator HAL_RTC_TIMESTAMP_TAMPER_DISABLED

Timestamp on tamper disabled

enumerator HAL_RTC_TIMESTAMP_TAMPER_ENABLED

Timestamp on tamper enabled

enum hal_rtc_timestamp_status_t

Timestamp status.

Values:

enumerator HAL_RTC_TIMESTAMP_DISABLED

Timestamp disabled

enumerator HAL_RTC_TIMESTAMP_ENABLED

Timestamp enabled

enum hal_rtc_timestamp_event_flag_t

Timestamp event definitions.

Values:

enumerator HAL_RTC_TIMESTAMP_NO_EVENT

No timestamp event

enumerator HAL_RTC_TIMESTAMP_EVENT

0x00000008 Timestamp flag Timestamp event Timestamp event

enumerator HAL_RTC_TIMESTAMP_OVERFLOW_EVENT

0x00000010 Timestamp overflow flag Timestamp overflow event Timestamp overflow event

RTC exported wake-up timer enumerations.

group RTC_Exported_Enums_WakeUp_Timer

Enums

enum hal_rtc_wakeup_timer_clock_t

Wake-up timer clock definitions.

Values:

enumerator HAL_RTC_WAKEUP_TIMER_CLOCK_RTCCLK_DIV2

RTC/2 clock is selected Wakeup timer clock is the RTCCLK divided by 2

enumerator HAL_RTC_WAKEUP_TIMER_CLOCK_RTCCLK_DIV4

0x00000002 RTC/4 clock is selected Wakeup timer clock is the RTCCLK divided by 4

enumerator HAL_RTC_WAKEUP_TIMER_CLOCK_RTCCLK_DIV8

0x00000001 RTC/8 clock is selected Wakeup timer clock is the RTCCLK divided by 8

enumerator HAL_RTC_WAKEUP_TIMER_CLOCK_RTCCLK_DIV16

RTC/16 clock is selected Wakeup timer clock is the RTCCLK divided by 16

enumerator HAL_RTC_WAKEUP_TIMER_CLOCK_BCD_UPDATE

0x00000004 ck_spre (usually 1 Hz) clock is selected Wakeup timer clock is the BCD update

enumerator HAL_RTC_WAKEUP_TIMER_CLOCK_BCD_UPDATE_ADD_1BIT

ck_spre (usually 1 Hz) clock is selected and 2exp16 is added to the WUT counter value Wakeup timer clock is the BCD update and 1 bit is added to the wakeup timer

RTC exported calibration enumerations.

group RTC_Exported_Enums_Calibration

Enums

enum hal_rtc_calibration_period_t

Calibration cycle period definitions.

Values:

enumerator HAL_RTC_CALIBRATION_PERIOD_8SEC

0x00004000 Use an 8-second calibration cycle period Use an 8-second calibration cycle period Calibration cycle period is set to 8 seconds

enumerator HAL_RTC_CALIBRATION_PERIOD_16SEC

0x00002000 Use a 16-second calibration cycle period Use a 16-second calibration cycle period Calibration cycle period is set to 16 seconds

enumerator HAL_RTC_CALIBRATION_PERIOD_32SEC

Use a 32-second calibration cycle period Calibration cycle period is set to 32 seconds

enum hal_rtc_calibration_pulse_t

Calibration increase frequency definitions.

Values:

enumerator HAL_RTC_CALIBRATION_PULSE_NOT_INSERTED

No RTCCLK pulses are added No increase of the frequency

enumerator HAL_RTC_CALIBRATION_PULSE_INSERTED

0x00008000 Increase frequency of RTC by 488.5 ppm One RTCCLK pulse is effectively inserted every 2exp11 pulses (frequency increased by 488.5 ppm) Increase of the frequency by one pulse every 2^11 pulses

enum hal_rtc_calibration_shift_second_t

Calibration seconds shifts definitions.

Values:

enumerator HAL_RTC_CALIBRATION_SHIFT_SECOND_DELAY

Delay (seconds) = SUBFS / (PREDIV_S + 1) Delay the calendar by one second

enumerator HAL_RTC_CALIBRATION_SHIFT_SECOND_ADVANCE

0x80000000 Add one second Advance (seconds) = (1-(SUBFS/(PREDIV_S+1))) Advance the calendar by one second

enum hal_rtc_calibration_status_t

Calibration status definitions.

Values:

enumerator HAL_RTC_CALIBRATION_DISABLED

Timestamp disabled

enumerator HAL_RTC_CALIBRATION_ENABLED

Timestamp enabled

HAL RTC unions

group RTC_Exported_Unions
union hal_rtc_alarm_day_t
#include <stm32c5xx_hal_rtc.h>

RTC Alarm weekday and day union.

Public Members

uint32_t mday

Day of the month

hal_rtc_weekday_t wday

Day of the week

HAL RTC exported structures

group RTC_Exported_Structures
struct hal_rtc_config_t
#include <stm32c5xx_hal_rtc.h>

RTC configuration structure.

Public Members

hal_rtc_mode_t mode

RTC mode

uint32_t asynch_prediv

Asynchronous prescaler register value. Real prescaler = asynch_prediv + 1. This parameter must be a number between 0x00 and 0x7F

uint32_t synch_prediv

Synchronous prescaler register value. Real prescaler = synch_prediv + 1. This parameter must be a number between 0x00 and 0x7FFF. This parameter is used when the mode is HAL_RTC_MODE_BCD.

hal_rtc_bcd_update_t bcd_update

BCD update. This parameter is when the mode is HAL_RTC_MODE_BINARY or HAL_RTC_MODE_MIX

struct hal_rtc_calendar_config_t
#include <stm32c5xx_hal_rtc.h>

Calendar configuration structure.

Public Members

hal_rtc_calendar_hour_format_t hour_format

Hour format of the calendar

hal_rtc_calendar_shadow_reg_bypass_t bypass_shadow_register

Keep or bypass the shadow registers

struct hal_rtc_output_tampalarm_config_t
#include <stm32c5xx_hal_rtc.h>

Tampalarm polarity output structure.

Public Members

hal_rtc_output_tampalarm_polarity_t polarity

Tampalarm output polarity

hal_rtc_output_tampalarm_type_t type

Tampalarm output type

hal_rtc_output_tampalarm_pullup_t pullup

Tampalarm output pull-up

struct hal_rtc_output_calib_config_t
#include <stm32c5xx_hal_rtc.h>

Calibration output frequency structure.

Public Members

hal_rtc_output_calibration_frequency_t frequency

Calibration frequency

struct hal_rtc_time_t
#include <stm32c5xx_hal_rtc.h>

Time structure.

Public Members

hal_rtc_time_format_am_pm_t am_pm

Time is a.m. or p.m.

uint32_t subsec

Subseconds register content that can have two functions: In BCD mode this parameter corresponds to a time unit range between[0-1] second with [1 sec/(SecondFraction+1)] granularity. This parameter corresponds to the free-running 32-bit counter in Binary and Mixed mode. This field is not used by the HAL_RTC_CALENDAR_SetTime and HAL_RTC_CALENDAR_SetDateTime functions. This parameter must be a number between 0x0 and 0x7FFF when configuring the alarm time in BCD or Mixed mode

uint32_t microsec

Time microseconds. This parameter must be a number between 0 and 999. It is only used when configuring the wake-up timer time

uint32_t millisec

Time milliseconds. This parameter must be a number between 0 and 999. It is only used when configuring the wake-up timer time

uint32_t hour

Time hour. This parameter must be a number between: 0 and 12 if the calendar hour format is 12 hours. 0 and 24 if the calendar hour format is 24 hours. 0 and 36 when using it with the wake-up timer

uint32_t min

Time minutes. This parameter must be a number between 0 and 59

uint32_t sec

Time seconds

struct hal_rtc_date_t
#include <stm32c5xx_hal_rtc.h>

Date structure.

Public Members

hal_rtc_weekday_t wday

Weekday

hal_rtc_month_t mon

Month

uint32_t mday

Day. This parameter must be a number between 1 and 31

uint32_t year

Year. This parameter must be a number between 0 and 99. Due to register limitations, the year is forced to 0 when reading the timestamp.

struct hal_rtc_alarm_config_t
#include <stm32c5xx_hal_rtc.h>

Alarm structure.

Public Members

hal_rtc_alarm_subseconds_auto_reload_t subsec_auto_reload

Subsecond register reload. Enable is only allowed in binary mode

hal_rtc_alarm_auto_clear_t auto_clear

Alarm event automatic clear by hardware

struct hal_rtc_alarm_date_time_t
#include <stm32c5xx_hal_rtc.h>

Alarm time structure.

Public Members

hal_rtc_time_t time

Time of the alarm

uint32_t mask

Alarm masks. This parameter can be a combination of RTC alarm mask defines. which includes day, hours, minutes and seconds

uint32_t subsec_mask

Alarm subseconds mask. The most significant bits starting at this bit are masked. This parameter must be a number between 0 and 63. From 32 to 63 all bits of the subseconds register are compared to activate the alarm

hal_rtc_alarm_day_type_selection_t mday_wday_selection

Day mode of the alarm

hal_rtc_alarm_day_t wday_mday

Alarm day or day of week

struct hal_rtc_timestamp_config_t
#include <stm32c5xx_hal_rtc.h>

Timestamp configuration structure.

Public Members

hal_rtc_timestamp_source_pin_edge_t input_edge_polarity

Timestamp input edge polarity

struct hal_rtc_timestamp_information_t
#include <stm32c5xx_hal_rtc.h>

Timestamp information structure.

Public Members

hal_rtc_timestamp_event_flag_t flag

Timestamp flag event

struct hal_rtc_wakeup_config_t
#include <stm32c5xx_hal_rtc.h>

Wake-up structure.

Public Members

hal_rtc_wakeup_timer_clock_t clock

Wake-up timer clock source